import Router from 'vue-router'
import Home from './views/Home.vue'
import buhaoma from './views/buhaoma.vue'
import buhao from './views/buhao.vue'
import buhaoa from './views/buhaoa.vue'
console.log(process.env.BASE_URL)
export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [
    {
      path: '/app2',
      name: 'app2',
      redirect: '/app2/buhao',
    },
    {
      path: '/app2/buhao',
      name: 'buhao',
      component: () => import('./views/buhaoma.vue'),
    }

  ]
})
